## Dependencias

+ [openresty](https://openresty.org/en/)
+ [lapis](https://leafo.net/lapis/) >= 1.8.3
+ [mariadb](https://mariadb.org/)
+ [luasql-mysql](https://github.com/keplerproject/luasql)
	+ `$ sudo luarocks install luasql-mysql MYSQL_INCDIR=/usr/include/mysql   # archlinux`
	+ `$ sudo luarocks install luasql-mysql MYSQL_INCDIR=/usr/include/mariadb # debian`
+ [lua-crypt](https://github.com/jprjr/lua-crypt)
+ [luaossl](https://github.com/wahern/luaossl)
+ [lua-resty-mail](https://github.com/GUI/lua-resty-mail)



+ [md](https://github.com/bakpakin/luamd)

+ [discount](https://gitlab.com/craigbarnes/lua-discount)
+ [lua-gumbo](https://gitlab.com/craigbarnes/lua-gumbo)



## Ejecución

```shell
$ cd nabu
$ lapis migrate
$ lapis server
```

<http://localhost:8080>

## Referencias

+ Información de apoyo sobre la sintaxis de Lua:
	+ <https://www.tutorialspoint.com/lua/index.htm>
	+ <https://youtube.com/playlist?list=PLZKvFeoJSjNnpuiy_ez9PylW8neFp2-gA>
	+ <https://www.udemy.com/course/aprende-a-programar-en-lua-desde-principiante-a-profesional/>
+ Manual de referencia de Lua:
	+ <http://www.lua.org/manual/5.1/es/manual.html>
	+ <http://www.lua.org/manual/5.4/manual.html>
+ Manual de referencia de Lapis:
	+ <https://leafo.net/lapis/reference.html>
+ Ejemplos de estructuración en módulos de una aplicación web en Lapis:
	+ <https://github.com/leafo/lapis/issues/599>
	+ <https://github.com/leafo/lapis/issues/709>
+ Ejemplos sobre migraciones de bases de datos:
	+ <https://github.com/leafo/lapis/issues/586>
	+ <https://github.com/karai17/lapis-chan/blob/master/app/migrations.lua>
	+ <https://github.com/starius/pasta/blob/master/src/migrations.lua>
+ Aclaración de dudas:
	+ <https://github.com/leafo/lapis/issues/721>
	+ <https://github.com/leafo/lapis/issues/728>
	+ <https://stackoverflow.com/questions/1374753/passing-base64-encoded-strings-in-url>
	+ <https://github.com/leafo/lapis/issues/735>
	+ <https://github.com/leafo/lapis/issues/585>
	+ <https://www.w3schools.com/tags/att_form_enctype.asp>
+ Ejemplo de envío de artículos:
	+ <https://gemlog.blue/post.php>
+ Configuración de MariaDB:
	+ <https://wiki.archlinux.org/index.php/MariaDB>
	+ <https://www.linode.com/docs/guides/how-to-install-mariadb-on-debian-10/>
+ Validaciones:
	+ <https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address>
	+ <https://developer.mozilla.org/es/docs/Web/HTML/Attributes/accept>
+ Envío de e-mails:
	+ <http://w3.impa.br/~diego/software/luasocket/smtp.html>
	+ <https://github.com/slushpupie/lua-smtps>
	+ <https://github.com/openresty/lua-resty-redis/issues/159>
+ Manejo de archivos:
	+ <https://somedudesays.com/2019/12/working-with-files-in-lua-basic/>
+ Grupos sobre Lua:
	+ Telegram:
		+ <https://t.me/lua_es>
	+ XMPP:
		+ <lua-es@chat.disroot.org>